view controller works for phones and iPads and button is centred for both. rotation is still not done and scaling the element picker is not done either