changes viewport height check at 500px