add functions to manipulate the client list: swap clients and reverse list
fix focus after swapping master