Fixed a bug in ListFrame.moveElement() where it could only move elements
downwards. Changed that method to snap to the top or bottom of the
element at the given y depending on if the given y is in the top or
bottom half of the element.