make bottom and side menu reusable directives