Jquery overrides the poroperty when we show /hide the element