Windies take control against Sri Lanka