conditional hover class