tweaked: prevent border expansion on desktop selection and don't reuse div ids.