HBox scales action bar depending on screen size