add cubeview hide and show buttons