safari height percentage bug fix (using pixels instead) and converted some JS to CSS3 transitions