add sidebar slide function to recent posts