bug fixes and added .height()