handles inline hover