adapt sidebar for mobile