added resize event handler

more mobile friendly notifications. added resize event handler and style
fixe for mobile browsers