change max width from 480 to 767
add functionality to buttons