Added gallery support; Switched to markup based initialization; added multi-touch zoom and pan support