added motion sensor UI