fixed resizing the home page