fix sidebar display position problem on mobile devices.