Added positioning code (unfinished) to divResize