Fixed an issue with the stacks directive on the mobile layout.