use .hide instead of style=display:none?