sc: some cleanup of the alignment panel

- Use generic Toolbox handler when possible.
- Use bool values directly, instead of if-else blocks.

Change-Id: Ica4986ed3fd2aa5c1babac7fa29f0ca67717c019