Sidebar Update

Cleaned up sidebar code, implemented "Bigger than" feature, fixed
variables to correct data.