Refactoring. Gallery and random banner.