fixed the hiding and displaying of content from mobile/desktop and images