resize index page