slide up transition for desktop and mobile between homepage and category page