refactoring
Modify to give priority to .pinned than :hover