Fixed bug which caused duplicate displaying of views on mobile.