fixed initial page closing animation