animation ends in the main view position