added possibility to hide position-buttons
fixed tests