Hide previous view to stop scrollbar showing
Removed console.log and refactored