updated navbar with transition (not working in IE 9 and lower)