Different animation types for page open and page close