move layout helper to the application instead of keeping it in the gem