implement sliding bars