Replace css manipulation with jQuery hide()/show() calls.