Added prevent elastic for ipads