Implemented splitViewController protocol methods.