Added pauseOnHover functionallity