responsive menu function

Add attibutes to menu button when window width is smaller than 768, and
remove them when it's bigger.