Refactored View Handling

Sorry for the rather big pull request.
This should fix misaligned notification views on device rotation.