added show hide feature for activities pivot