implements responsive layout
merge conflicts