Bug 1093214 - [Gallery] Refactor/Modularize carousel view