set offsets on input handlers and drawing of GUI elements to variables