added sidebar support