working front page with resizing