fixed issue with buttons growing on window resize