adds UI gravity controller