Updating layout manager to work with kloyRouter