added nicer transition style
added transition property to not only support -webkit
added overflow hidden to pages element to disallow horizontal scrolling