remove strange way to set to mobile view

remove strange way to set to mobile view