added zooming and mirroring