change flip masks and bits for smartcover

*) use SW_LID instead of SW_FLIP
*) invert state of the flipcover

Change-Id: I620b198adbd696d0b69ae7df3b4c6fcb0c7b1b64