bootstrap and random tile functionality