created movePointer as a callable function.  call it both in doSelect() and handleWindowResize().  also, got rid of some commented code that I don't think we'll be using.