add sidebar swipping