Revert "change flip masks and bits for smartcover"

This reverts commit d6dcbd2d18872e9b750bd9f3efd53e73636c2a9e.