Fix scroll buttons when using tabs