Added a sublayout to the main layout to which I can grammatically add the joystick view
added code to set layout parameters when adding the joystick view so I can center it