Some dock behaviour for yosemite.