remove resize function as it was messing up things on mobile