avoid mobile resize when scroll