do manual bookkeeping to only add/remove "over" class on outer element