Made open and close for mobile