Move setVisible() method to ScrollBar class