added pagesliderjs to switch between views