Fixed bugs in responsive design