the line.jpeg is included in your <p> tag in your nav div on the pages that shift. put it outside the <p> and see if that sorts it.