Resolution slider bug
When using the resolution slider a bug occurs after panning on a lower resolution then switching slices. It halves(on res = 2) the x and y values of the zoom values. Need to find a division to delete or a multiplication to add for self.resolution_div.