1. fixed bugs of slider