added hold down mouse
cleaned up code, got rid of unused variables