major updated

adding slideshow support in theme and function.php rewrite.
UI improve.