Bug 916037 - Follow up bug for writing tests for swiper.js

- Add test cases for swiper widget.
- Swiper bug fixing.
- Remove unused css and tuning.