Added functional sidebar