CSS updated to adapt display in portrait mode