simplifying oclumn movement logic
logic to take care of invisible columns while moving columns