fix images swing on front page