added additional check for desktop viewport
reduced whitespace