Swing functionality with user-controlled swing ratio implemented

User can go to Style-> General and set the swing settings according to his preferences to make the score swing!