1. add window size detection
2. remove unnecessary and duplicated code
3. match the media query of bootstrap to tell desktop, tablet, and phone
4. clean event triggle handler
5. fixed popContent arrow position in different resolution
6. remove unnecessary CSS code