learning ol3 creating custom controls