Moved button to the sidebar file. Added transition changes.