correct button position on index page before last refresh?