slide animation working for sidebar and spreadsheet