Updated sidebar to only show transactions only if there are available transactions