fixed a problem with the mobile layout