update lauouts before slide animation