display top / bottom buttons when classifier images stack vertically