move the sidebar to a function

Signed-off-by: Suki <suki@missallsunday.com>
2.0.4 update

Signed-off-by: Suki <suki@missallsunday.com>
gotta use some of my own mods ::)

Signed-off-by: Suki <suki@missallsunday.com>
No need for this

Signed-off-by: Suki <suki@missallsunday.com>