Corrected side bar size calcuration.
Corrected size calculation.