changed css from display to visiblity properties. should work now