Actually I\'m trying to combine the two scenarios. This is the first scenario: https://codepen.io/rooc/pen/bONbqw
codepen.io code: