added listener for newtab layout in app.js
changed event listener