added functions to callouts and responsive behavior