fixing some of the mobile view handling for images