added feature of loading mobile interface on window resize