Added hide and show heapbox functions