Fixed a bug in mobile view