Added medium and small screen support in portrait mode for the main screen