implemented antialiasing toggling