minimized the jquery hover code