adjust to browser height in pageCreate