fixed issue with selector.prev skipping over 1