Added working map activity
Fixed gallery repeating the first image if going backwards.