moving ui drawing outside of app