added layout script to show collapsed sidebar on mobile