Fixed some issues in mobile layout