resize on mobile bug proper fix