Wind is a big factor as to why IRIS might have difficulty maintaining a leveled flight orientation. However,if this happens in an environment with no wind, you may need to recalibrate your accelerometer. Please check this video for instructions.