fixed issue with zoom slider
added image cache
added javadoc