use foregroundView.alpha instead of just using 1. closes #16