added images and recent posts sidebar functionality