add mac platform functions(move and resize)