My working attempt at creating Apple's blue effect dynamically