changed css attr from visibility to display