toggle arrow class when cursor moves outside