add handlers and integrate responsive code for blocks2