Main activity gravity change