make sure selected links appear over non-selected links