clean up responsive code