Added mobile mode for main page