remove onshowing option and set_width class from stylesheet