added utility method to expand swipe animation