Change the collapse behavior, good for mobile device