added hammer
fixed broken things; next step is to rewrite in jquery