fixing issue with mobile layout not working