Resize utilities for desktop and mobile