Implemented active/inactive panes to help with the transitions