added pan+zoom instead of distortion
change line style and added style for bottons