hide/show direction button by items count