optimize mouse over/out