fixes orientation issues and adds mixpanel support in