Make layout more flexible, tooltips don't have gaps between icons
Make sure page count doesn't overflow on window resize
Start button IDs at a higher number to avoid conflicts