added previous channel functionality.