Removed need for panel width and height by using calculation with wheel
width.