Got click function working again with keeping the css hover intact.