replaced collapse/expand buttons