main logic

First Work Day:
1.add main logic of slider