fix new lvl alert in Safari, animation too fast on Chrome
cleaned resize handler code a bit