buttons move dynamically as page gets too small