hide() messed up page layout, changing visibility to hidden fixed this